atspicontext: Fix GetIndexInParent for toplevels
authorMatthias Clasen <mclasen@redhat.com>
Sat, 10 Oct 2020 16:22:16 +0000 (12:22 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 12 Oct 2020 19:10:40 +0000 (15:10 -0400)
commitddb72accc0edfb53a3bbbc5f8a5b534225895935
tree9cfd76f0b215a3d5cb58843b6cf3a6df747b0e4d
parent824ab7e4eda0cc739434efea4cdbbf9822d9e232
atspicontext: Fix GetIndexInParent for toplevels

For toplevels, we need to return the index in the
list of toplevels, since that is what GtkAtspiRoot
is using.
gtk/a11y/gtkatspicontext.c